package cn.zcq100.Observer.pull;

public class Demo {
	public static void main(String[] args) {
		thisWeather weather=new thisWeather();
		CurrentBoard cb=new CurrentBoard(weather);
		MonitorBoard mb=new MonitorBoard(weather);
		weather.setMesurement(30, 65, 101);
/*		cb.dispaly();
		mb.dispaly();*/
		
		weather.setMesurement(21, 45, 120);
/*		cb.dispaly();
		mb.dispaly();*/
		
		weather.setMesurement(28, 55, 99);
		cb.dispaly();
		mb.dispaly();
		
	}

}
